package com.shsmi.entity;

import java.io.Serializable;

/**
 * Description: 坐标点
 *
 * @author chrli
 * @date Created on 2020年12月31日
 */
public class CityRegion implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 3584864663880053897L;


    private double maxX;

    private double maxY;

    private double minX;

    private double minY;

    public CityRegion() {
    }

    public CityRegion(double maxX, double maxY, double minX, double minY) {
        super();
        this.maxX = maxX;
        this.maxY = maxY;
        this.minX = minX;
        this.minY = minY;
    }

    public double getMaxX() {
        return maxX;
    }

    public void setMaxX(double maxX) {
        this.maxX = maxX;
    }

    public double getMaxY() {
        return maxY;
    }

    public void setMaxY(double maxY) {
        this.maxY = maxY;
    }


    public double getMinX() {
        return minX;
    }

    public void setMinX(double minX) {
        this.minX = minX;
    }

    public double getMinY() {
        return minY;
    }

    public void setMinY(double minY) {
        this.minY = minY;
    }


    @Override
    public String toString() {
        return maxX + "," + minX;
    }

}
